import * as TYPES from "../action-types";
import _ from "../../assets/utils";

let initial = {
  info: null,
};

export default function baseReDucer(state = initial, action) {
  state = _.clone(state);
  switch (action.type) {
    case TYPES.BASE_INFO:
      state.info = action.info;
      break;
    default:
      break;
  }

  return state;
}
